<?php
require './curl.php';
$id = $_REQUEST['id'];
$page = $_REQUEST['page'];
echo curl_get_contents("https://pcweb.api.mgtv.com/episode/list?collection_id={$id}&page=1&size={$page}");
?>